package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum FileType {

    JPEG(0, ".jpeg"),

    JPG(1, ".jpg"),

    PNG(2, ".png"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;



}
